<?php

class Admin_Create_Module_Page {

	/**
	 * Make changes to the database.
	 *
	 * @return void
	 */
	public function up()
	{

				
		Schema::create('sys_modul_page', function($table) {

			$table->engine = 'InnoDB';

		    $table->increments('smp_id');
		    $table->string('smp_modul', 100);
		    $table->integer('sm_id');
		    $table->string('smp_controller', 100);
		    $table->string('smp_controller_alias', 100);
		    $table->string('smp_action', 100);
		    $table->string('smp_action_alias', 100);
		    $table->integer('smp_visible');
		    $table->integer('smp_header');
		    $table->integer('smp_footer');
		    $table->integer('smp_auth');
		    $table->integer('smp_admin');
		    $table->integer('smp_arrangement');
		    $table->timestamps();

		});
	}

	/**
	 * Revert the changes to the database.
	 *
	 * @return void
	 */
	public function down()
	{
		Schema::drop('sys_modul_page');
	}

}